﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Delivery.master" AutoEventWireup="true" CodeFile="frmVenta.aspx.cs" Inherits="Procesos_frmVenta" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">

        .style7
        {
            width: 584px;
            height: 322px;
        }
        .style12
        {
            height: 21px;
        }
        .style23
        {
            height: 21px;
            width: 6px;
        }
        .style13
        {
            width: 77px;
            height: 38px;
        }
        .style24
        {
            height: 38px;
            width: 157px;
        }
        .style32
        {
            height: 38px;
            width: 226px;
        }
        .style15
        {
            width: 194px;
            height: 38px;
        }
        .style14
        {
            height: 38px;
            width: 6px;
        }
        .style16
        {
            width: 77px;
            height: 22px;
        }
        .style26
        {
            height: 22px;
            width: 157px;
        }
        .style33
        {
            height: 22px;
            width: 226px;
        }
        .style18
        {
            width: 194px;
            height: 22px;
        }
        .style28
        {
            height: 22px;
            width: 6px;
        }
        .style29
        {
            height: 19px;
            width: 157px;
        }
        .style34
        {
            height: 19px;
            width: 226px;
        }
        .style11
        {
            width: 194px;
            height: 19px;
        }
        .style31
        {
            height: 19px;
            width: 6px;
        }
        .style10
        {
            height: 202px;
        }
        .style21
        {
            width: 77px;
            height: 26px;
        }
        .style22
        {
            height: 26px;
            width: 157px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contenido" Runat="Server">
    <table class="style7">
        <tr>
            <td align="center" class="style12" colspan="5">
                <asp:Label ID="LblTitulo" runat="server" Font-Bold="True" Font-Italic="True" 
                    Font-Size="Large" Text="Venta"></asp:Label>
            </td>
            <td align="center" class="style23">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style13">
                <asp:Label ID="LblFecha" runat="server" Text="Fecha de Emision:"></asp:Label>
            </td>
            <td class="style24">
                <asp:TextBox ID="TextFecha" runat="server" Enabled="False" 
                    style="margin-left: 0px" Width="108px"></asp:TextBox>
            </td>
            <td class="style24">
                &nbsp;</td>
            <td class="style32">
                <asp:Label ID="LblPtoVenta" runat="server" Text="Pto.Venta:"></asp:Label>
                <asp:TextBox ID="TextPtoVta" runat="server" Enabled="False" Width="32px"></asp:TextBox>
                &nbsp;&nbsp;&nbsp;
            </td>
            <td class="style15">
                <asp:Label ID="Label1" runat="server" Text="Número:"></asp:Label>
                <asp:TextBox ID="TextNro" runat="server" Enabled="False"></asp:TextBox>
            </td>
            <td class="style14">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style16">
                <asp:Label ID="LblLetra" runat="server" Text="Letra:"></asp:Label>
            </td>
            <td class="style26">
                <asp:DropDownList ID="DropLetra" runat="server">
                </asp:DropDownList>
            </td>
            <td class="style26">
                &nbsp;</td>
            <td class="style33">
                &nbsp;</td>
            <td class="style18">
                &nbsp;</td>
            <td class="style28">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style19">
                &nbsp;</td>
            <td class="style29">
                &nbsp;</td>
            <td class="style29">
                &nbsp;</td>
            <td class="style34">
                &nbsp;</td>
            <td class="style11">
                &nbsp;</td>
            <td class="style31">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style16">
                <asp:Label ID="LblArticulo" runat="server" Text="Articulo:"></asp:Label>
            </td>
            <td class="style26">
                <asp:DropDownList ID="DropArticulo" runat="server">
                </asp:DropDownList>
            </td>
            <td class="style26">
                &nbsp;</td>
            <td class="style10" colspan="3" rowspan="6">
                <asp:GridView ID="Grilla" runat="server" BackColor="LightGoldenrodYellow" 
                    BorderColor="Tan" BorderWidth="1px" CellPadding="2" ForeColor="Black" 
                    GridLines="None">
                    <FooterStyle BackColor="Tan" />
                    <PagerStyle BackColor="PaleGoldenrod" ForeColor="DarkSlateBlue" 
                        HorizontalAlign="Center" />
                    <SelectedRowStyle BackColor="DarkSlateBlue" ForeColor="GhostWhite" />
                    <HeaderStyle BackColor="Tan" Font-Bold="True" />
                    <AlternatingRowStyle BackColor="PaleGoldenrod" />
                </asp:GridView>
            </td>
        </tr>
        <tr>
            <td class="style16">
                <asp:Label ID="LblCantidad" runat="server" Text="Cantidad:"></asp:Label>
            </td>
            <td class="style26">
                <asp:TextBox ID="TextCantidad" runat="server"></asp:TextBox>
            </td>
            <td class="style26">
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="TextCantidad" Display="Dynamic" 
                    ErrorMessage="Campo Obligatorio">*</asp:RequiredFieldValidator>
                <asp:RangeValidator ID="RangeValidator1" runat="server" 
                    ControlToValidate="TextCantidad" Display="Dynamic" 
                    ErrorMessage="Rango no Valido. Entre 0 y 1000" MaximumValue="1000" 
                    MinimumValue="0">*</asp:RangeValidator>
            </td>
        </tr>
        <tr>
            <td class="style16">
                <asp:Label ID="LblPrecioU" runat="server" Text="Precio P/U:"></asp:Label>
            </td>
            <td class="style26">
                <asp:TextBox ID="TextPrecioU" runat="server" Enabled="False"></asp:TextBox>
            </td>
            <td class="style26">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style16">
                <asp:Label ID="LblSubTotal" runat="server" Text="Sub Total:"></asp:Label>
            </td>
            <td class="style26">
                <asp:TextBox ID="TextSubTotal" runat="server" Enabled="False"></asp:TextBox>
            </td>
            <td class="style26">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style21">
                &nbsp;</td>
            <td class="style22">
                <asp:Button ID="BtnAgregar" runat="server" Text="Agregar" />
            </td>
            <td class="style22">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style16">
                <asp:Label ID="Label2" runat="server" Text="Total:"></asp:Label>
            </td>
            <td class="style26">
                <asp:TextBox ID="TextTotal" runat="server" Enabled="False"></asp:TextBox>
            </td>
            <td class="style26">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style19" colspan="2" rowspan="2">
                <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
            </td>
            <td class="style19" rowspan="2">
                &nbsp;</td>
            <td class="style34">
                <asp:Button ID="btnAceptar" runat="server" Text="Aceptar" />
                <asp:Button ID="btnCancelar" runat="server" Text="Cancelar" />
            </td>
        </tr>
        <tr>
            <td class="style34">
                &nbsp;</td>
        </tr>
    </table>
</asp:Content>

